package cn.hy.tiny.demo.core;

import java.sql.SQLException;
import java.util.List;

/**
 * @Author huang.xy
 * @Description TODO
 */
public interface SqlSession {

     <E> List <E> selectList(String statementId, Object... param) throws Exception;

     <T> T selectOne(String statementId,Object... params) throws Exception;

    <T> T getMapper(Class<T> type);

     void close() throws SQLException;

}
